/*
 * Item.java
 * 
 * Copyright 2012 Xinli Jia
 * 
 * Item data model
 */

package ie.dit.comp.lukejia.fyp.model;

import java.util.ArrayList;
import java.util.List;

public class Item {

	private String title;
	private String amazonASIN;
	private String amazonReviewURL;
	private List<String> authors = new ArrayList<String>();
	private String manufacturer;

	public Item(String title, String ASIN, String url) {
		this.title = title;
		this.amazonASIN = ASIN;
		this.amazonReviewURL = url;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("Title:" + title);
		sb.append(" ASID:" + amazonASIN);
		sb.append(" URL:" + amazonReviewURL);
		return sb.toString();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAmazonASIN() {
		return amazonASIN;
	}

	public void setAmazonASIN(String amazonASIN) {
		this.amazonASIN = amazonASIN;
	}

	public String getAmazonReviewURL() {
		return amazonReviewURL;
	}

	public void setAmazonReviewURL(String amazonReviewURL) {
		this.amazonReviewURL = amazonReviewURL;
	}

	public List<String> getAuthors() {
		return authors;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

}
